package com.sunjob.mrotech;

import com.sunjob.common.exceptionHandler.GlobalExceptionHandler;
import com.sunjob.common.feignInterceptor.FeignTokenInterceptor;
import com.sunjob.common.redisTemplateConfig.RedisTemplateConfig;
import com.sunjob.common.roleAndAuth.RoleAndAuthConfig;
import com.sunjob.common.saTokenInterceptor.SaTokenInterceptorConfig;
import com.sunjob.mrosystem.aop.ExecLogAop;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

@EnableDiscoveryClient
@SpringBootApplication
@Import({RedisTemplateConfig.class, ExecLogAop.class, RoleAndAuthConfig.class, SaTokenInterceptorConfig.class, FeignTokenInterceptor.class, GlobalExceptionHandler.class})
public class MroTechApplication {

    public static void main(String[] args) {
        SpringApplication.run(MroTechApplication.class, args);
    }

}
